﻿@page
@namespace AuthorizationSample.Pages.Private
@model PrivatePage2Model
@{
    ViewData["Title"] = "Private Folder: Private Page 2";
}

<h1>@ViewData["Title"]</h1>
<h2>@Model.Message</h2>

<p>
    This page requires authorization by convention:
    <code>
        options.Conventions.AuthorizeFolder("/Private");
    </code>
</p>
